package com.sport.facilities.booking.system.model;


import java.io.Serializable;

public class Friend implements Serializable {
	private static final long serialVersionUID = 1L;
	private String name;
	private String email;
	private String phone;
	private int Id;
	
	private String[] friendArry; 


	public Friend(){
		
	}
	public Friend(int Id, String name, String email, String phone){
		this.Id = Id;
		this.name = name;
		this.email = email;
		this.phone = phone;
		
	}

    public String toString() {
        return this.name + "!!@@!!##!!" + this.email + "!!@@!!##!!" +this.phone + "!!@@!!##!!" +this.Id;
    }
    public String[] toArray() {
    	friendArry[0] =  Integer.toString(this.Id);
    	friendArry[1] =  this.name;
    	friendArry[2] =  this.email;
    	friendArry[3] =  this.phone;
         
         return friendArry;
    }
    
	public int getId() {
		return Id;
	}

	public void setId(int Id) {
		this.Id = Id;
	}
	 

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}



	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}


	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	

}

